# -*- coding: utf-8 -*-

# Copyright (c) Huoty, All rights reserved
# Author: Huoty <sudohuoty@163.com>
# CreateTime: 2020-09-15 11:21:45

"""兼容模块"""


def inext(it):
    if hasattr(it, "next"):
        return it.next()
    else:
        return next(it)
